home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / usr / share / recovery-mode / options / fsck < prev    next >
Text File  |  2008-04-24  |  302b  |  22 lines

  1. #!/bin/sh
  2.  
  3. . /usr/share/recovery-mode/l10n.sh
  4.  
  5. set -e
  6.  
  7. if [ "$1" = "test" ]; then
  8.   echo $(eval_gettext "File system check")
  9.   exit 0
  10. fi
  11.  
  12. # ensure we can check /
  13. mount -o remount,ro /
  14. fsck -s -f -A -C0
  15. mount -o remount,rw /
  16.  
  17. echo ""
  18. echo $(eval_gettext "Finished, please press ENTER")
  19. read TMP
  20.  
  21. exit 0
  22.